import request from '@/utils/request'

//获取学段
export function getPeriod() {
	return request({
		'url': '/activity/getPeriod',
		headers: {
			isToken: false
		},
		'method': 'get'
	})
}

//获取学科方法
export function getSubject() {
	return request({
		url: '/member/registerSubject',
		headers: {
			isToken: false
		},
		method: 'get',
	})
}

//获取区县方法
export function getArea() {
	return request({
		url: '/member/registerArea',
		headers: {
			isToken: false
		},
		method: 'get',
	})
}

//获取学校方法
export function getSchool(data) {
	return request({
		url: '/member/registerSchool',
		headers: {
			isToken: false
		},
		method: 'get',
		'data': {
			code: data
		}
	})
}

//获取教师
export function getTeacher(params) {
	return request({
		'url': '/activity/getTeacher',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}